import request from '@/utils/request'

// 查询企业获奖列表
export function listEnterprise_award(query) {
  return request({
    url: '/business/enterprise_award/list',
    method: 'get',
    params: query
  })
}

// 查询企业获奖详细
export function getEnterprise_award(awardId) {
  return request({
    url: '/business/enterprise_award/' + awardId,
    method: 'get'
  })
}

// 新增企业获奖
export function addEnterprise_award(data) {
  return request({
    url: '/business/enterprise_award',
    method: 'post',
    data: data
  })
}

// 修改企业获奖
export function updateEnterprise_award(data) {
  return request({
    url: '/business/enterprise_award',
    method: 'put',
    data: data
  })
}

// 删除企业获奖
export function delEnterprise_award(awardId) {
  return request({
    url: '/business/enterprise_award/' + awardId,
    method: 'delete'
  })
}
